home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / pc / epan.dir / 00716_Script_startmovie < prev    next >
Text File  |  1995-09-12  |  1KB  |  46 lines

  1. Global gBtn17, gBtn18, gHotSpotStatus, gWhatMovie, gQuest,gTheHelpIsOn,┬
  2.       gBeginYourLifeStatus, gOpenHouse1,gOpenHouse2,gSlider,gReInitGlobals,┬
  3.       gInitGlobals
  4.  
  5. on StartMovie
  6.   set gBtn17 = birth(script "a3StateButton", 47, 1925, "SE141819.AIF", "CrossAPan", "HandCursor")
  7.   set gBtn18 = birth(script "a3StateButton", 48, 1928, "SE141819.AIF", "CrossVPan", "HandCursor")
  8.   set gWhatMovie = "EgyptW.dir"
  9.   set gBeginYourLifeStatus = 1
  10.   set gHotSpotStatus = 0
  11.   set gWhatMovie = "EgyptW.dir"
  12.   set the visible of sprite 2 to true
  13.   set the visible of sprite 4 to true
  14.   set gOpenHouse1 = 0
  15.   set the visible of sprite 3 to true
  16.   set gOpenHouse2 = 0
  17.   if gInitGlobals = 1 then
  18.     EInitGlobals
  19.     set gInitGlobals = 0
  20.   else
  21.     if gReInitGlobals = 1 then
  22.       EGlobalSetUpFromTheatre
  23.       set gReInitGlobals = 0
  24.     end if  
  25.   end if  
  26.   EGlobalsSetUpPan
  27.   set gTheHelpIsOn = 0
  28. end
  29.  
  30. on StopMovie
  31.   hidecontrol (gBtn17)
  32.   hidecontrol (gBtn18)
  33.   set gBtn17 = 0  
  34.   set gBtn18 = 0
  35.   KillSlider(gSlider)
  36.   set the visible of sprite 2 to true
  37.   set the visible of sprite 3 to true
  38.   set the visible of sprite 4 to true
  39.   puppetsprite 25, false
  40.   puppetsprite 26, false
  41.   unload 1, 140
  42.   set gBeginYourLifeStatus = 0
  43.   set gHotSpotStatus = 0
  44. end
  45.  
  46.